package com.liliya.pojo;

import java.util.Date;

/**
 * @Description 订单
 * @Author hhy
 * @Date 2021/2/21 9:28
 */
public class Order {
    //订单编号
    private Long orderNum;
    //订单时间
    private Date orderTime;
    //商品编号
    private Long proQnum;
    //商品名称
    private String proName;
    //商品数量
    private Integer proNum;
    //商品价格
    private Integer proPrice;
    //订单完成情况 1是完成了，0是未完成；
    private Integer ok;

    private OrderMan orderMan;

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Long getProQnum() {
        return proQnum;
    }

    public void setProQnum(Long proQnum) {
        this.proQnum = proQnum;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Integer getProNum() {
        return proNum;
    }

    public void setProNum(Integer proNum) {
        this.proNum = proNum;
    }

    public Integer getProPrice() {
        return proPrice;
    }

    public void setProPrice(Integer proPrice) {
        this.proPrice = proPrice;
    }

    public OrderMan getOrderMan() {
        return orderMan;
    }

    public void setOrderMan(OrderMan orderMan) {
        this.orderMan = orderMan;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNum=" + orderNum +
                ", orderTime=" + orderTime +
                ", proQnum=" + proQnum +
                ", proName='" + proName + '\'' +
                ", proNum=" + proNum +
                ", proPrice=" + proPrice +
                ", ok=" + ok +
                ", orderMan=" + orderMan +
                '}';
    }
}
